package com.app.couponsharelife.manage

/**
 * Created by guluwa on 2018/3/14.
 */
object Contacts {

    /**
     * permission申请code
     */
    const val PERMISSION_REQUEST_CODE = 0

    /**
     * 用户身份（0：卖家，1：买家）
     */
    var IDENTITY = 1

    /**
     * 服务器baseUrl
     */
//    const val BASEURL = "http://quan11.megglife.com/"//正式

    const val BASEURL = "http://mp.yiyepay.cn/appapi/"//

    const val REMOTE_URL = "http://app.yiyepay.cn/"

    const val REMOTE_IMAGE_URL = "http://yiyepay.cn:8090/app"//图片域名
    const val NEWREMOTE_IMAGE_URL = "http://app.yiyepay.cn/qxsh/app"//新图片域名

    //const val REMOTE_IMAGE_URL = "http://192.168.2.23:8080/revision"//测试图片域名
    //const val NEWREMOTE_IMAGE_URL = "http://192.168.2.23:8080/revision"//新测试图片域名

    const val WXCARD_URL = "https://mp.yiyepay.cn/"//微信卡券域名

    const val TEST_IMAGE_URL = "http://192.168.2.23:8080/revision"//测试图片域名
    //const val TEST_URL="http://192.168.2.23:8080/" //测试域名http://192.168.2.19:8080/   http://192.168.2.52:8080/  http://192.168.2.23:8080/
    const val TEST_URL="http://192.168.2.52:8080/"  //测试域名
    const val ZFBPAYURL="https://mp.yiyepay.cn/q11api/api/UserUpgrade/getAlipayParameter"
    const val TCP="http:"
    const val TCPS="https:"
    var HOTFIX_DEBUG = false

    const val TAOBAOURL = "http://ttg.megglife.com/"

    const val APPVERSIONURL = "http://fuquan.megglife.com/"

    const val APP_LIFE_IMGURL="http://yiyepay.cn:8090/app"

    const val SERRET_VERSEC = "ABCDEFHIJKL98712&*^&65@#$2334056MNOPQRSYIJIWANGL#$#UOUVWXYZ"

    const val JD_IMAG_URL_N1="http://img14.360buyimg.com/n1/"  //京东图片域名
    const val JD_IMAG_URL_N2="http://img14.360buyimg.com/n2/"
    const val JD_IMAG_URL_N3="http://img14.360buyimg.com/n3/"

    const val TXBASE_URL="https://apis.map.qq.com/"  //腾讯地图域名

//    const val ALIMAMA_PID = "mm_176900039"

    const val DEFAULT_ADZONE_ID = "65231850041"

    const val ALIMAMA_PID = "mm_245910165_223950447_65231850041"//pid

    const val ADZONE_ID = "adzond_id"
    const val USER_GRADE_ID = "user_grade_id"
    const val PDD_ADZONE_ID = "pdd_adzond_id"
    const val INVITATION_CODE ="invitationCode"
    const val COPY_SEARCH_CONTENT ="copySearchContent"

    const val APP_ID = "223950447"//"25327447"

    const val TOKEN = "token"

    const val USERID = "user_id"

    const val UNIONID = "union_id"

    const val USERTYPE = "user_type"

    const val USER_MOBILE = "user_mobile"

    const val WECHAT_APP_ID = "wx3cd0fc372cc1d1da"

    const val COMMISSION_RATIO="commission_ratio"

    const val ALIPAY_NUMBER="alipay_number"

    const val JPUSH_ALIAS="jPush_alias"

    const val WECHAT_APP_SECRET = "edef4055035299f580e8c2881a3b9b6b"

    const val JI_DONG_APP_KEY = "accd11f9697a4a698178f2d954e2f94e"

    const val JI_DONG_APP_SECRET = "67ebf62ec74348f8921686e755a7df0a"

    const val HZ_CENTER_LONGITUDE = "120.241910"

    const val HZ_CENTER_LATITUDE = "30.243370"

    const val EARTH_RADIUS = 6378137.0

    const val TXMAP_KEY="HTRBZ-AUVKJ-23EF4-KTLDD-KPILE-G5FLG"

    const val GOOD_SHARE_URL = "https://mp.yiyepay.cn/share/index.html?id="

    const val REGISTER_URL = "http://mp.yiyepay.cn/wx/poster.html?id="

    var TOKEN_NEED_FRESH = false

    var VIP_BUY_COMMISSION_RATIO = 0.3

    var VIP_SHARE_COMMISSION_RATIO = 0.3

    var SVIP_BUY_COMMISSION_RATIO = 0.3

    var SVIP_SHARE_COMMISSION_RATIO = 0.3

    const val RETURN_RATIO=1
}